package com.zhuiyi.springzhuiyi.annotation;

import java.lang.annotation.*;

@Inherited
@Documented
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface VisitLimit {
    //标识，指定时间段内的访问次数
    int limit() default 5;
    // 时间段
    int sec() default  5;
}
